/*
 * This class was automatically generated with 
 * <a href="http://www.castor.org">Castor 1.3</a>, using an XML
 * Schema.
 * $id$
 */

package nl.biggrid.plier.opm;

import javax.jdo.annotations.PersistenceCapable;
/**
 * This class represents an OPM account entity as an alternate explanation or level of abstraction of an OPM graph.
 * 
 * @version $Revision$ $Date$
 */
@SuppressWarnings("serial")
@PersistenceCapable
public class Account implements java.io.Serializable {


      //--------------------------/
     //- Class/Member Variables -/
    //--------------------------/

    /**
     * Field id.
     */
    private String id;

    /**
     * Field value.
     */
    private String value;

    /**
     * Field graph.
     */
    private OPMGraph graph;

      //----------------/
     //- Constructors -/
    //----------------/
    /**
     * Class constructor.
     */
    public Account() {
        super();
    }
      //-----------/
     //- Methods -/
    //-----------/

    /**
     * Returns the OPM opmId of this account.
     *
     * @return The OPM opmId of this account.
     */
    public java.lang.String getId(
    ) {
        return this.id;
    }

    /**
     * Returns the value of this account.
     *
     * @return the value of this account.
     */
    public java.lang.String getValue(
    ) {
        return this.value;
    }

    /**
     * Returns the value of field 'graph'.
     *
     * @return the value of field 'graph'.
     */
    public OPMGraph getGraph() {
        return graph;
    }

    /**
     * Sets the OPM opmId of this account.
     *
     * @param opmId the OPM opmId of this account.
     */
    public void setId(
            final java.lang.String opmId) {
        this.id = opmId;
    }

    /**
     * Sets the OPM value of this account.
     *
     * @param value The OPM value of this account.
     */
    public void setValue(
            final java.lang.String value) {
        this.value = value;
    }

    /**
     * Sets the OPM graph this account is part of.
     *
     * @param graph the value of the OPM graph.
     */
    public void setGraph(OPMGraph graph) {
        this.graph = graph;
    }
}
